package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;


/**
 * @Description
 * @Author cwq
 * @Data 2022/2/22 21:31
 */
@FieldTypeAnnotation(tableName = "t_c_ck_activity_seacraftsouthsea_team_log",desc = "南海丝路-船员小队组队日志",autoSave = true,uploadCk = true,isCross = true)
public class LogSeacraftSouthSeaTeam extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "活动id",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "商会id",isIndex = true)
    private String unionId;
    @FieldTypeAnnotation(desc = "玩家id",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "队伍类型")
    private int type;
    @FieldTypeAnnotation(desc = "门客列表")
    private String patronsStr;
    @FieldTypeAnnotation(desc = "防守队伍能力")
    private long defendValue;
    @FieldTypeAnnotation(desc = "进攻队伍能力")
    private long attackValue;

    public LogSeacraftSouthSeaTeam(int activityId, String unionId, int type, long userId, String patronsStr, long defendValue, long attackValue, long time) {
        this.activityId = activityId;
        this.unionId = unionId;
        this.type = type;
        this.userId = userId;
        this.patronsStr = patronsStr;
        this.defendValue = defendValue;
        this.attackValue = attackValue;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getPatronsStr() {
        return patronsStr;
    }

    public void setPatronsStr(String patronsStr) {
        this.patronsStr = patronsStr;
    }

    public long getDefendValue() {
        return defendValue;
    }

    public void setDefendValue(long defendValue) {
        this.defendValue = defendValue;
    }

    public long getAttackValue() {
        return attackValue;
    }

    public void setAttackValue(long attackValue) {
        this.attackValue = attackValue;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
